home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
misc
/
centerscreen12.lha
/
CenterScreenPatch_V1.2
/
CenterScreenPatch_V1.2.doc
< prev
next >
Wrap
Text File
|
1992-12-10
|
3KB
|
86 lines
CenterScreenPatch
-----------------
Version 1.2
Copyright 1992 by Bilbo the first
For license and terms for software originating from Bilbo the first consult
the file CopyrightNotice which came with this package.
About CenterScreenPatch:
-----------------------
An installed and active CenterScreenPatch results in all opening Screens
appearing horizontally centered. Those left sticking screens simply annoyed
me (since I use overscanned screens), so I wrote this little piece of patch
code.
CenterScreenPatch is: 100% assembler code
pc-relative
not startable from the Workbench
an OS2+ tool (you need at least Kickstart 37.175)
not removable!
Enforcer proof
How to use CenterScreenPatch:
----------------------------
Start it with CenterScreenPatch from CLI or within a shell script.
Successfull injection of the patch will be prompted. When injection is not
possible due to certain circumstances, the reason for the failure will be
prompted.The patch cannot be removed in this version. I did not need that,
but if you think it is essential to be able to remove it, let me know.
General remarks:
---------------
CenterScreenPatch works as follows:
The requested screen is opened using OpenScreen[TagList](). The overscan
width of the resolution of the screen is determined. When the screen is not
as wide as the overscan it is centered using MoveScreen(). So non-draggable
screens cannot be centered (this is the way these screens want it :-), this
is not a bug, if I wanted i could write a CenterScreenPatch using OS3 that
can center non-draggable screens, but I think it is not "clean" to move
non-draggable screens. Let me know if you need this though.
Known bugs:
----------
sorry, none :-)
History:
-------
V1.0 : beta release for some privileged persons
V1.1 : beta release for some privileged persons
V1.2 : first public release
Thanks, greetings:
-----------------
·thanks, Jesus Christ for being the god who cares about us all
·thanks and love to my girlfriend for being such a patient person
·greets to Zaphod Beblebrox of Hypenosis (who will buy a CAT in a sack? :-)
·HOARS to ALFred alias Doctor Psi, tète de patate, greets to Zenith
members, too
·greets to all the nice pals on irc (Mnemo, Skull, Zop, Delirium, Gucky,
SteveVai, Outland, Gateway, U4IA, Janne, Milano, Juggi, Advance, Goldrnr,
Sphinx, Slammer, Ikke, _Lord_,...
and all I know but forgot now (I'm in a hurry, you know))
For bugreports, ideas, questions and all other concerning CenterScreenPatch
meet me on irc on channel #amiga (or #amigager).
Bilbo the first of Hypenosis (10-Dec-92).